#include "settings.h"
#include "config.h"

namespace torrent {

std::string Settings::httpName = "libtorrent/" VERSION;
std::string Settings::peerName = PEER_NAME;

int Settings::dirMode = 0777;
int Settings::filesMode = 0644;

int Settings::rateStart = 20 * 1000000;
int Settings::rateWindow = 60 * 1000000;
int Settings::rateQuick = 5 * 1000000;

DownloadSettings* DownloadSettings::m_global = new DownloadSettings();

DownloadSettings::DownloadSettings() :
	minPeers(30),
	maxPeers(50),
	maxUploads(7),
	chokeCycle(30 * 1000000)
{}

} // namespace torrent

